Skip to content

Conversation

priteau
Copy link
Member

@priteau priteau commented Jan 18, 2023

The file 50-edk2-ovmf-cc.json is used by Nova in get_loader() when lauching UEFI instances without Secure Boot.

It only supports machine type pc-q35-rhel8.5.0. However, with recent nova-compute container images built on CentOS Stream 8, the machine type is pc-q35-rhel8.6.0, which results in failures to launch instances with:

nova.exception.UEFINotSupported: UEFI is not supported

There is a fix for RHEL9/c9s [1], but not for RHEL8/c8s. Also see [2] for more details.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2090752
[2] https://bugs.launchpad.net/nova/+bug/1955035

@priteau priteau self-assigned this Jan 18, 2023
@priteau priteau requested a review from a team as a code owner January 18, 2023 09:30
JohnGarbutt
JohnGarbutt previously approved these changes Jan 18, 2023
Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks like a good quick patch.

@priteau priteau marked this pull request as draft January 18, 2023 09:44
@priteau
Copy link
Member Author

priteau commented Jan 18, 2023

I've just realised this needs to be made specific to centos as it might fail on Ubuntu.

@JohnGarbutt
Copy link
Member

I've just realised this needs to be made specific to centos as it might fail on Ubuntu

oops, you are quite correct.

The file 50-edk2-ovmf-cc.json is used by Nova in get_loader() when
lauching UEFI instances without Secure Boot.

It only supports machine type pc-q35-rhel8.5.0. However, with recent
nova-compute container images built on CentOS Stream 8, the machine type
is pc-q35-rhel8.6.0, which results in failures to launch instances with:

    nova.exception.UEFINotSupported: UEFI is not supported

There is a fix for RHEL9/c9s [1], but not for RHEL8/c8s. Also see [2]
for more details.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2090752
[2] https://bugs.launchpad.net/nova/+bug/1955035
@priteau priteau marked this pull request as ready for review January 18, 2023 11:24
@priteau priteau merged commit f2541d0 into stackhpc/wallaby Jan 18, 2023
@priteau priteau deleted the edk2-ovmf-uefi branch January 18, 2023 16:06
priteau added a commit that referenced this pull request Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants